<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>

    <link rel="stylesheet" href="${pageContext.request.contextPath}/static/bootstrap/css/bootstrap.css">
    <script src="${pageContext.request.contextPath}/static/js/jquery-3.3.1.min.js"></script>
    <script src="${pageContext.request.contextPath}/static/bootstrap/js/bootstrap.js"></script>
</head>
<body>
<div class="container-fluid">
    <div class="row-fluid">
        <div class="span12">
            <p class="text-info">
            </p>
            <h2 class="text-center text-info">
                类型添加界面
            </h2>
        </div>
    </div>
</div>

<div class="container-fluid">
    <div class="row">
        <div class="col-md-2 col-md-offset-5">
            <form class="form-horizontal" method="post" action="${pageContext.request.contextPath}/type/insert">
                <div class="form-group">
                    <label for="username">类型ID</label>
                    <input type="text" name="id" class="form-control" id="username">
                </div>
                <div class="form-group">
                    <label for="password">类型名</label>
                    <input type="text" name="name" class="form-control" id="password">
                </div>

                <div class="form-group">
                    <label for="true_name">类型描述</label>
                    <input type="text" name="text" class="form-control" id="true_name">
                </div>
                <div></div>
                <div class="row-fluid">
                    <div class="span3">
                    </div>
                    <div class="span4">
                        <button class="btn btn-block btn-success" type="submit" onclick="alert('添加成功！')">添加</button>
                    </div>
                    <div class="span1">
                    </div>
                </div>
                <h4 class="msg"></h4>
            </form>
        </div>
    </div>
</div>


</body>
</html>
